<?php
define("ROOT", dirname(dirname(__FILE__)));
require_once 'PHPUnit/Framework.php';
require_once(ROOT . '/ProtoBuf/ProtoBuf.php');
require_once ROOT . '/Tests/ProtoBuf/Base128Test.php';
require_once ROOT . '/Tests/ProtoBuf/ZigZagTest.php';
require_once ROOT . '/Tests/ProtoBuf/ReaderWriterTest.php';
require_once ROOT . '/Tests/ProtoBuf/MessageTest.php';
require_once ROOT . '/Tests/ProtoBuf/RepeatedMessageTest.php';

class AllTests {
    public static function suite() {
        $suite = new PHPUnit_Framework_TestSuite('ProtoBuf'); 
        $suite->addTestSuite('ProtoBuf_Base128Test');
        $suite->addTestSuite('ProtoBuf_ZigZagTest');
        $suite->addTestSuite('ProtoBuf_ReaderWriterTest');
        $suite->addTestSuite('ProtoBuf_MessageTest');
        $suite->addTestSuite('ProtoBuf_RepeatedMessageTest');
        return $suite;
    }
}
?>